class CreateMaterialsPublishers < ActiveRecord::Migration
  def self.up
    create_table :materials_publishers do |t|
      t.integer :order_list
      t.integer :material_id, :null => false
      t.integer :publisher_id, :null => false
      t.timestamps
    end  
  end

  def self.down
	drop_table :materials_publishers
  end
end
